cd /opt/tomcat-7.0.47-webserver/bin/
./shutdown.sh &
cd /opt/tomcat-7.0.47-webservice/bin/
./shutdown.sh &
cd /opt/jboss-as-7.1.1.Final/bin/
./jboss-cli.sh --connect command=:shutdown &
echo "servidores parados!"
